export declare interface FormDesigner {
  init: (data?: any) => void
}
export declare interface Tool {
  typeId: string
  typeName: string
  typeIcon: string
}

export declare interface Tools {
  [index: number]: Tool
}

export declare interface FormItem {
  id: string
  tdId: string
  formType: string
  formTypeName: string
  formTypeIcon: string
  config: FormItemConfig
}

export declare interface FormItemConfig {
  title?: string
  key?: string
  required?: boolean
  tips?: string
  disabled?: boolean
}

export declare interface FormValueItem {
  form_input_id:  string
  form_input_name: string
  form_input_type: string
  form_input_value: string | number | boolean | undefined
  key: string
}